import Vue from 'vue';
import Vuex from 'vuex';
import auth from './modules/auth';
import header from './modules/header';
import userinfo from './modules/userinfo';
import sysinfo from './modules/sysinfo';
import config from './modules/config';
import active from './modules/active';

Vue.use(Vuex);
export default new Vuex.Store({
    modules: {
        auth,
        header,
        userinfo,
        sysinfo,
        config,
        active
    }
});